function checkUserLogin(id, base, value){
    var str = typeof dojo;
    if((str != "undefined") && (dojo != null))
    {
        dojo.xhrGet ({url: base + value,handleAs: 'json',load: function(data){dojo.byId(id).innerHTML = data;},error: function(error){console.error('Error: ',error);}});
    }
}